<%--
  Created by IntelliJ IDEA.
  User: 13687
  Date: 2017/3/26
  Time: 14:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
</head>
<body>

<h1>跳转到指定jsp 页面</h1>
<a href="${pageContext.request.contextPath}/index.action">跳跃吧</a>

<form action="${pageContext.request.contextPath}/register.action">
    <hr>
    <table border="1" align="center">
        <tr>
            <td>姓名 <input type="text" name="name"></td>
        </tr>
        <tr>
            <td>年龄 <input type="text" name="age"></td>
        </tr>
        <tr>
            <td>生日 <input type="date" name="birth"></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"></td>
        </tr>
    </table>
</form>
</body>
</html>
